home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cato / Xm / XmSelectionBox.z / XmSelectionBox
Encoding:
Text File  |  2002-10-03  |  43.6 KB  |  661 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx - The SelectionBox widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////SSSSeeeelllleeeeccccttttiiiiooooBBBB....hhhh>>>>
  13.  
  14.  
  15.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  16.           This page documents version 1.2 of the Motif library.
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           SelectionBox is a general dialog widget that allows the user
  20.           to select one item from a list.  By default a SelectionBox
  21.           includes the following:
  22.  
  23.  
  24.             +o  A scrolling list of alternatives
  25.  
  26.             +o  An editable text field for the selected alternative
  27.  
  28.             +o  Labels for the list and text field
  29.  
  30.             +o  Three or four buttons
  31.  
  32.  
  33.           The default button labels are OOOOKKKK, CCCCaaaannnncccceeeellll, and HHHHeeeellllpppp.  By
  34.           default an AAAAppppppppllllyyyy button is also created; if the parent of
  35.           the SelectionBox is a DialogShell it is managed, and
  36.           otherwise it is unmanaged.  Additional children may be added
  37.           to the SelectionBox after creation.  The first child is used
  38.           as a work area.  The value of XXXXmmmmNNNNcccchhhhiiiillllddddPPPPllllaaaacccceeeemmmmeeeennnntttt determines
  39.           if the work area is placed above or below the Text area, or
  40.           above or below the List area.  Additional children are laid
  41.           out in the following manner:
  42.  
  43.  
  44.             +o  Menubar-The first menu bar child is placed at the top
  45.                of the window.
  46.  
  47.             +o  Buttons-All XXXXmmmmPPPPuuuusssshhhhBBBBuuuuttttttttoooonnnn widgets or gadgets, and their
  48.                subclasses are placed after the OOOOKKKK button in the order
  49.                of their creation.
  50.  
  51.             +o  The layout of additional children which are not in the
  52.                above categories is undefined.
  53.  
  54.  
  55.           The user can select an item in two ways:  by scrolling
  56.           through the list and selecting the desired item or by
  57.           entering the item name directly into the text edit area.
  58.           Selecting an item from the list causes that item name to
  59.           appear in the selection text edit area.
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           The user may select a new item as many times as desired.
  75.           The item is not actually selected until the user presses the
  76.           OOOOKKKK PushButton.
  77.  
  78.           The default value for the XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd resource
  79.           XXXXmmmmNNNNccccaaaannnncccceeeellllBBBBuuuuttttttttoooonnnn is the Cancel button unless XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee is
  80.           XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____CCCCOOOOMMMMMMMMAAAANNNNDDDD, when the default is NULL.  The default
  81.           value for the XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd resource XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttBBBBuuuuttttttttoooonnnn is
  82.           the OK button unless XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee is XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____CCCCOOOOMMMMMMMMAAAANNNNDDDD, when
  83.           the default is NULL.
  84.  
  85.           For SelectionBox and its subclasses, the default value for
  86.           XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is the text edit area.
  87.  
  88.           The user can specify resources in a resource file for the
  89.           automatically created widgets and gadgets of SelectionBox.
  90.           The following list identifies the names of these widgets (or
  91.           gadgets) and the associated SelectionBox areas.
  92.  
  93.  
  94.             +o  List Items Label-"Items"
  95.  
  96.             +o  List Items-"ItemsList"
  97.  
  98.             +o  Selection Label-"Selection"
  99.  
  100.             +o  Selection Text-"Text"
  101.  
  102.             +o  Selection Separator-"Separator"
  103.  
  104.  
  105.         CCCCllllaaaasssssssseeeessss
  106.           SelectionBox inherits behavior and resources from CCCCoooorrrreeee,
  107.           CCCCoooommmmppppoooossssiiiitttteeee, CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt, XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, and XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd
  108.           Classes.
  109.  
  110.           The class pointer is xxxxmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxWWWWiiiiddddggggeeeettttCCCCllllaaaassssssss.
  111.  
  112.           The class name is XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx.
  113.  
  114.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  115.           The following table defines a set of widget resources used
  116.           by the programmer to specify data.  The programmer can also
  117.           set the resource values for the inherited classes to set
  118.           attributes for this widget.  To reference a resource by name
  119.           or by class in a .Xdefaults file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  120.           prefix and use the remaining letters.  To specify one of the
  121.           defined values for a resource in a .Xdefaults file, remove
  122.           the XXXXmmmm prefix and use the remaining letters (in either
  123.           lowercase or uppercase, but include any underscores between
  124.           words).  The codes in the access column indicate if the
  125.           given resource can be set at creation time (C), set by using
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  137.  
  138.  
  139.  
  140.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  141.           not applicable (N/A).
  142.  
  143.                                           XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  144.      NNNNaaaammmmeeee                      CCCCllllaaaassssssss                     TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                   AAAAcccccccceeeessssssss
  145.      _____________________________________________________________________________________________________
  146.      XmNapplyCallback          XmCCallback               XtCallbackList   NULL                      C
  147.      XmNapplyLabelString       XmCApplyLabelString       XmString         dynamic                   CSG
  148.      XmNcancelCallback         XmCCallback               XtCallbackList   NULL                      C
  149.      XmNcancelLabelString      XmCCancelLabelString      XmString         dynamic                   CSG
  150.      XmNchildPlacement         XmCChildPlacement         unsigned char    XmPLACE_ABOVE_SELECTION   CSG
  151.      XmNdialogType             XmCDialogType             unsigned char    dynamic                   CG
  152.      XmNhelpLabelString        XmCHelpLabelString        XmString         dynamic                   CSG
  153.      XmNlistItemCount          XmCItemCount              int              0                         CSG
  154.      XmNlistItems              XmCItems                  XmStringTable    NULL                      CSG
  155.      XmNlistLabelString        XmCListLabelString        XmString         dynamic                   CSG
  156.      XmNlistVisibleItemCount   XmCVisibleItemCount       int              dynamic                   CSG
  157.      XmNminimizeButtons        XmCMinimizeButtons        Boolean          False                     CSG
  158.      XmNmustMatch              XmCMustMatch              Boolean          False                     CSG
  159.      XmNnoMatchCallback        XmCCallback               XtCallbackList   NULL                      C
  160.      XmNokCallback             XmCCallback               XtCallbackList   NULL                      C
  161.      XmNokLabelString          XmCOkLabelString          XmString         dynamic                   CSG
  162.      XmNselectionLabelString   XmCSelectionLabelString   XmString         dynamic                   CSG
  163.      XmNtextAccelerators       XmCTextAccelerators       XtAccelerators   default                   C
  164.      XmNtextColumns            XmCColumns                short            dynamic                   CSG
  165.      XmNtextString             XmCTextString             XmString         ""                        CSG
  166.  
  167.  
  168.           XXXXmmmmNNNNaaaappppppppllllyyyyCCCCaaaallllllllbbbbaaaacccckkkk
  169.                     Specifies the list of callbacks called when the
  170.                     user activates the AAAAppppppppllllyyyy button.  The callback
  171.                     reason is XXXXmmmmCCCCRRRR____AAAAPPPPPPPPLLLLYYYY.
  172.  
  173.           XXXXmmmmNNNNaaaappppppppllllyyyyLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  174.                     Specifies the string label for the AAAAppppppppllllyyyy button.
  175.                     The default for this resource depends on the
  176.                     locale.  In the C locale the default is "Apply".
  177.  
  178.           XXXXmmmmNNNNccccaaaannnncccceeeellllCCCCaaaallllllllbbbbaaaacccckkkk
  179.                     Specifies the list of callbacks called when the
  180.                     user activates the CCCCaaaannnncccceeeellll button.  The callback
  181.                     reason is XXXXmmmmCCCCRRRR____CCCCAAAANNNNCCCCEEEELLLL.
  182.  
  183.           XXXXmmmmNNNNccccaaaannnncccceeeellllLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  184.                     Specifies the string label for the CCCCaaaannnncccceeeellll button.
  185.                     The default for this resource depends on the
  186.                     locale.  In the C locale the default is "Cancel".
  187.  
  188.           XXXXmmmmNNNNcccchhhhiiiillllddddPPPPllllaaaacccceeeemmmmeeeennnntttt
  189.                     Specifies the placement of the work area child.
  190.                     The possible values are:
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 4/30/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  203.  
  204.  
  205.  
  206.                       +o  XXXXmmmmPPPPLLLLAAAACCCCEEEE____AAAABBBBOOOOVVVVEEEE____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN-places the work area
  207.                          child above the Text area
  208.  
  209.                       +o  XXXXmmmmPPPPLLLLAAAACCCCEEEE____BBBBEEEELLLLOOOOWWWW____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN-places the work area
  210.                          child below the Text area
  211.  
  212.                       +o  XXXXmmmmPPPPLLLLAAAACCCCEEEE____TTTTOOOOPPPP-places the work area child above
  213.                          the List area, and below a menubar, if one is
  214.                          present
  215.  
  216.  
  217.           XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee
  218.                     Determines the set of SelectionBox children
  219.                     widgets that are created and managed at
  220.                     initialization.  The following are possible
  221.                     values:
  222.  
  223.  
  224.                       +o  XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRROOOOMMMMPPPPTTTT-all standard children except
  225.                          the list and list label are created, and all
  226.                          except the AAAAppppppppllllyyyy button are managed
  227.  
  228.                       +o  XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____CCCCOOOOMMMMMMMMAAAANNNNDDDD-only the list, the selection
  229.                          label, and the text field are created and
  230.                          managed
  231.  
  232.                       +o  XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN-all standard children are
  233.                          created and managed
  234.  
  235.                       +o  XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____FFFFIIIILLLLEEEE____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN-all standard children
  236.                          are created and managed
  237.  
  238.                       +o  XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____WWWWOOOORRRRKKKK____AAAARRRREEEEAAAA-all standard children are
  239.                          created, and all except the AAAAppppppppllllyyyy button are
  240.                          managed
  241.  
  242.  
  243.                     If the parent of the SelectionBox is a
  244.                     DialogShell, the default is XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN;
  245.                     otherwise, the default is XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____WWWWOOOORRRRKKKK____AAAARRRREEEEAAAA.
  246.                     XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg and XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg
  247.                     set and append this resource to the creation
  248.                     _a_r_g_l_i_s_t supplied by the application.  This
  249.                     resource cannot be modified after creation.
  250.  
  251.           XXXXmmmmNNNNhhhheeeellllppppLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  252.                     Specifies the string label for the HHHHeeeellllpppp button.
  253.                     The default for this resource depends on the
  254.                     locale.  In the C locale the default is "Help".
  255.  
  256.           XXXXmmmmNNNNlllliiiissssttttIIIItttteeeemmmmssss
  257.                     Specifies the items in the SelectionBox list.
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 4/30/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  269.  
  270.  
  271.  
  272.                     XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss for this resource returns the list
  273.                     items themselves, not a copy of the list items.
  274.                     The application must not free the returned items.
  275.  
  276.           XXXXmmmmNNNNlllliiiissssttttIIIItttteeeemmmmCCCCoooouuuunnnntttt
  277.                     Specifies the number of items in the SelectionBox
  278.                     list.  The value must not be negative.
  279.  
  280.           XXXXmmmmNNNNlllliiiissssttttLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  281.                     Specifies the string label to appear above the
  282.                     SelectionBox list containing the selection items.
  283.                     The default for this resource depends on the
  284.                     locale.  In the C locale the default is "Items"
  285.                     unless XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee is XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRROOOOMMMMPPPPTTTT; in that
  286.                     case the default is NULL.
  287.  
  288.           XXXXmmmmNNNNlllliiiissssttttVVVViiiissssiiiibbbblllleeeeIIIItttteeeemmmmCCCCoooouuuunnnntttt
  289.                     Specifies the number of items displayed in the
  290.                     SelectionBox list.  The value must be greater than
  291.                     0 unless XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee is XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRROOOOMMMMPPPPTTTT; in that
  292.                     case the value is always 0.  The default is
  293.                     dynamic based on the height of the list.
  294.  
  295.           XXXXmmmmNNNNmmmmiiiinnnniiiimmmmiiiizzzzeeeeBBBBuuuuttttttttoooonnnnssss
  296.                     Sets the buttons to the width of the widest button
  297.                     and height of the tallest button if False.  If
  298.                     True, button width and height are not modified.
  299.  
  300.           XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh
  301.                     Specifies whether the selection widget should
  302.                     check if the user's selection in the text edit
  303.                     field has an exact match in the SelectionBox list
  304.                     when the OOOOKKKK button is activated.  If the selection
  305.                     does not have an exact match, and XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh is
  306.                     True, the XXXXmmmmNNNNnnnnooooMMMMaaaattttcccchhhhCCCCaaaallllllllbbbbaaaacccckkkk callbacks are called.
  307.                     If the selection does have an exact match or if
  308.                     XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh is False, XXXXmmmmNNNNooookkkkCCCCaaaallllllllbbbbaaaacccckkkk callbacks are
  309.                     called.
  310.  
  311.           XXXXmmmmNNNNnnnnooooMMMMaaaattttcccchhhhCCCCaaaallllllllbbbbaaaacccckkkk
  312.                     Specifies the list of callbacks called when the
  313.                     user makes a selection from the text edit field
  314.                     that does not have an exact match with any of the
  315.                     items in the list box.  The callback reason is
  316.                     XXXXmmmmCCCCRRRR____NNNNOOOO____MMMMAAAATTTTCCCCHHHH.  Callbacks in this list are called
  317.                     only if XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh is true.
  318.  
  319.           XXXXmmmmNNNNooookkkkCCCCaaaallllllllbbbbaaaacccckkkk
  320.                     Specifies the list of callbacks called when the
  321.                     user activates the OOOOKKKK button.  The callback reason
  322.                     is XXXXmmmmCCCCRRRR____OOOOKKKK.  If the selection text does not match
  323.                     a list item, and XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh is True, the
  324.  
  325.  
  326.  
  327.      Page 5                                          (printed 4/30/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  335.  
  336.  
  337.  
  338.                     XXXXmmmmNNNNnnnnooooMMMMaaaattttcccchhhhCCCCaaaallllllllbbbbaaaacccckkkk callbacks are called instead.
  339.  
  340.           XXXXmmmmNNNNooookkkkLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  341.                     Specifies the string label for the OOOOKKKK button.  The
  342.                     default for this resource depends on the locale.
  343.                     In the C locale the default is "OK".
  344.  
  345.           XXXXmmmmNNNNsssseeeelllleeeeccccttttiiiioooonnnnLLLLaaaabbbbeeeellllSSSSttttrrrriiiinnnngggg
  346.                     Specifies the string label for the selection text
  347.                     edit field.  The default for this resource depends
  348.                     on the locale.  In the C locale the default is
  349.                     "Selection".
  350.  
  351.           XXXXmmmmNNNNtttteeeexxxxttttAAAAcccccccceeeelllleeeerrrraaaattttoooorrrrssss
  352.                     Specifies translations added to the Text widget
  353.                     child of the SelectionBox.  The default includes
  354.                     bindings for the up and down keys for auto
  355.                     selection of list items.  This resource is ignored
  356.                     if XXXXmmmmNNNNaaaacccccccceeeelllleeeerrrraaaattttoooorrrrssss is initialized to a nondefault
  357.                     value.
  358.  
  359.           XXXXmmmmNNNNtttteeeexxxxttttCCCCoooolllluuuummmmnnnnssss
  360.                     Specifies the number of columns in the Text
  361.                     widget.  The value must be greater than 0.
  362.  
  363.           XXXXmmmmNNNNtttteeeexxxxttttSSSSttttrrrriiiinnnngggg
  364.                     Specifies the text in the text edit selection
  365.                     field.
  366.  
  367.  
  368.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  369.           SelectionBox inherits behavior and resources from the
  370.           following superclasses.  For a complete description of each
  371.           resource, refer to the man page for that superclass.
  372.  
  373.                                XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  374.      NNNNaaaammmmeeee                  CCCCllllaaaassssssss                TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt        AAAAcccccccceeeessssssss
  375.      _________________________________________________________________________________
  376.      XmNallowOverlap       XmCAllowOverlap      Boolean          True           CSG
  377.      XmNautoUnmanage       XmCAutoUnmanage      Boolean          True           CG
  378.      XmNbuttonFontList     XmCButtonFontList    XmFontList       dynamic        CSG
  379.      XmNcancelButton       XmCWidget            Widget           dynamic        SG
  380.      XmNdefaultButton      XmCWidget            Widget           dynamic        SG
  381.      XmNdefaultPosition    XmCDefaultPosition   Boolean          True           CSG
  382.      XmNdialogStyle        XmCDialogStyle       unsigned char    dynamic        CSG
  383.      XmNdialogTitle        XmCDialogTitle       XmString         NULL           CSG
  384.      XmNfocusCallback      XmCCallback          XtCallbackList   NULL           C
  385.      XmNlabelFontList      XmCLabelFontList     XmFontList       dynamic        CSG
  386.      XmNmapCallback        XmCCallback          XtCallbackList   NULL           C
  387.      XmNmarginHeight       XmCMarginHeight      Dimension        10             CSG
  388.  
  389.  
  390.  
  391.  
  392.  
  393.      Page 6                                          (printed 4/30/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  401.  
  402.  
  403.  
  404.      XmNmarginWidth        XmCMarginWidth       Dimension        10             CSG
  405.      XmNnoResize           XmCNoResize          Boolean          False          CSG
  406.      XmNresizePolicy       XmCResizePolicy      unsigned char    XmRESIZE_ANY   CSG
  407.      XmNshadowType         XmCShadowType        unsigned char    XmSHADOW_OUT   CSG
  408.      XmNtextFontList       XmCTextFontList      XmFontList       dynamic        CSG
  409.      XmNtextTranslations   XmCTranslations      XtTranslations   NULL           C
  410.      XmNunmapCallback      XmCCallback          XtCallbackList   NULL           C
  411.  
  412.                                           XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  413.      NNNNaaaammmmeeee                    CCCCllllaaaassssssss                   TTTTyyyyppppeeee                DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  414.      _________________________________________________________________________________________________
  415.      XmNbottomShadowColor    XmCBottomShadowColor    Pixel               dynamic                CSG
  416.      XmNbottomShadowPixmap   XmCBottomShadowPixmap   Pixmap              XmUNSPECIFIED_PIXMAP   CSG
  417.      XmNforeground           XmCForeground           Pixel               dynamic                CSG
  418.      XmNhelpCallback         XmCCallback             XtCallbackList      NULL                   C
  419.      XmNhighlightColor       XmCHighlightColor       Pixel               dynamic                CSG
  420.      XmNhighlightPixmap      XmCHighlightPixmap      Pixmap              dynamic                CSG
  421.      XmNinitialFocus         XmCInitialFocus         Widget              dynamic                CSG
  422.      XmNnavigationType       XmCNavigationType       XmNavigationType    XmTAB_GROUP            CSG
  423.      XmNshadowThickness      XmCShadowThickness      Dimension           dynamic                CSG
  424.      XmNstringDirection      XmCStringDirection      XmStringDirection   dynamic                CG
  425.      XmNtopShadowColor       XmCTopShadowColor       Pixel               dynamic                CSG
  426.      XmNtopShadowPixmap      XmCTopShadowPixmap      Pixmap              dynamic                CSG
  427.      XmNtraversalOn          XmCTraversalOn          Boolean             True                   CSG
  428.      XmNunitType             XmCUnitType             unsigned char       dynamic                CSG
  429.      XmNuserData             XmCUserData             XtPointer           NULL                   CSG
  430.  
  431.                              CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  432.      NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  433.      ______________________________________________________________________
  434.      XmNchildren         XmCReadOnly         WidgetList    NULL      G
  435.      XmNinsertPosition   XmCInsertPosition   XtOrderProc   NULL      CSG
  436.      XmNnumChildren      XmCReadOnly         Cardinal      0         G
  437.  
  438.                                                    CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  439.      NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  440.      ______________________________________________________________________________________________________________
  441.      XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                N/A
  442.      XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  443.      XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  444.      XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  445.      XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  446.      XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  447.      XmNborderWidth                  XmCBorderWidth                  Dimension        0                      CSG
  448.      XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  449.      XmNdepth                        XmCDepth                        int              dynamic                CG
  450.      XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  451.      XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  452.      XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  453.      XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                                          (printed 4/30/98)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  467.  
  468.  
  469.  
  470.      XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  471.      XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  472.      XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  473.      XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  474.      XmNx                            XmCPosition                     Position         0                      CSG
  475.      XmNy                            XmCPosition                     Position         0                      CSG
  476.  
  477.         CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  478.           A pointer to the following structure is passed to each
  479.           callback:
  480.  
  481.           ttttyyyyppppeeeeddddeeeeffff ssssttttrrrruuuucccctttt
  482.           {{{{
  483.             iiiinnnntttt          _r_e_a_s_o_n;;;;
  484.             XXXXEEEEvvvveeeennnntttt       * _e_v_e_n_t;;;;
  485.             XXXXmmmmSSSSttttrrrriiiinnnngggg     _v_a_l_u_e;;;;
  486.             iiiinnnntttt          _l_e_n_g_t_h;;;;
  487.           }}}} XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt;;;;
  488.  
  489.  
  490.           _r_e_a_s_o_n Indicates why the callback was invoked
  491.  
  492.           _e_v_e_n_t  Points to the XXXXEEEEvvvveeeennnntttt that triggered the callback
  493.  
  494.           _v_a_l_u_e  Indicates the XXXXmmmmSSSSttttrrrriiiinnnngggg value selected by the user
  495.                  from the SelectionBox list or entered into the
  496.                  SelectionBox text field
  497.  
  498.           _l_e_n_g_t_h Indicates the size in bytes of the XXXXmmmmSSSSttttrrrriiiinnnngggg value
  499.  
  500.  
  501.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  502.           XmSelectionBox inherits translations from XmBulletinBoard.
  503.  
  504.         AAAAcccccccceeeelllleeeerrrraaaattttoooorrrrssss
  505.           The XXXXmmmmNNNNtttteeeexxxxttttAAAAcccccccceeeelllleeeerrrraaaattttoooorrrrssss are added to the Text descendant of
  506.           XmSelectionBox.  The default accelerators are listed below.
  507.           These accelerators may not directly correspond to a
  508.           translation table.
  509.  
  510.           KKKKUUUUpppp::::           SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxUUUUppppOOOOrrrrDDDDoooowwwwnnnn((((0000))))
  511.           KKKKDDDDoooowwwwnnnn::::         SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxUUUUppppOOOOrrrrDDDDoooowwwwnnnn((((1111))))
  512.           KKKKBBBBeeeeggggiiiinnnnDDDDaaaattttaaaa::::    SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxUUUUppppOOOOrrrrDDDDoooowwwwnnnn((((2222))))
  513.           KKKKEEEEnnnnddddDDDDaaaattttaaaa::::      SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxUUUUppppOOOOrrrrDDDDoooowwwwnnnn((((3333))))
  514.           KKKKRRRReeeessssttttoooorrrreeee::::      SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxRRRReeeessssttttoooorrrreeee(((())))
  515.  
  516.  
  517.         AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
  518.           The XmSelectionBox action routines are described below:
  519.  
  520.  
  521.           SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxUUUUppppOOOOrrrrDDDDoooowwwwnnnn((((0000||||1111||||2222||||3333)))):
  522.  
  523.  
  524.  
  525.      Page 8                                          (printed 4/30/98)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  533.  
  534.  
  535.  
  536.                     When called with a 0 argument, selects the
  537.                     previous item in the list and replaces the text
  538.                     with that item.
  539.  
  540.                     When called with a 1 argument, selects the next
  541.                     item in the list and replaces the text with that
  542.                     item.
  543.  
  544.                     When called with a 2 argument, selects the first
  545.                     item in the list and replaces the text with that
  546.                     item.
  547.  
  548.                     When called with a 3 argument, selects the last
  549.                     item in the list and replaces the text with that
  550.                     item.
  551.  
  552.           SSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxRRRReeeessssttttoooorrrreeee(((()))):
  553.                     Replaces the text value with the list selection.
  554.                     If no item in the list is selected, clears the
  555.                     text.
  556.  
  557.  
  558.  
  559.         AAAAddddddddiiiittttiiiioooonnnnaaaallll BBBBeeeehhhhaaaavvvviiiioooorrrr
  560.           The SelectionBox widget has the additional behavior
  561.           described below:
  562.  
  563.  
  564.           MMMMAAAAnnnnyyyy KKKKCCCCaaaannnncccceeeellll:
  565.                     Calls the activate callbacks for the cancel button
  566.                     if it is sensitive.  If no cancel button exists
  567.                     and the parent of the SelectionBox is a manager,
  568.                     passes the event to the parent.
  569.  
  570.           KKKKAAAAccccttttiiiivvvvaaaatttteeee:
  571.                     Calls the activate callbacks for the button with
  572.                     the keyboard focus.  If no button has the keyboard
  573.                     focus, calls the activate callbacks for the
  574.                     default button if it is sensitive.  In a List
  575.                     widget or single-line Text widget, the List or
  576.                     Text action associated with KKKKAAAAccccttttiiiivvvvaaaatttteeee is called
  577.                     before the SelectionBox actions associated with
  578.                     KKKKAAAAccccttttiiiivvvvaaaatttteeee.  In a multi-line Text widget, any
  579.                     KKKKAAAAccccttttiiiivvvvaaaatttteeee event except KKKKEEEEnnnntttteeeerrrr calls the Text
  580.                     action associated with KKKKAAAAccccttttiiiivvvvaaaatttteeee, then the
  581.                     SelectionBox actions associated with KKKKAAAAccccttttiiiivvvvaaaatttteeee.
  582.                     If no button has the focus, no default button
  583.                     exists, and the parent of the SelectionBox is a
  584.                     manager, passes the event to the parent.
  585.  
  586.           <<<<OOOOKKKK BBBBuuuuttttttttoooonnnn AAAAccccttttiiiivvvvaaaatttteeeedddd>>>>:
  587.                     If XXXXmmmmNNNNmmmmuuuussssttttMMMMaaaattttcccchhhh is True and the text does not
  588.  
  589.  
  590.  
  591.      Page 9                                          (printed 4/30/98)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  599.  
  600.  
  601.  
  602.                     match an item in the file list, calls the
  603.                     XXXXmmmmNNNNnnnnooooMMMMaaaattttcccchhhhCCCCaaaallllllllbbbbaaaacccckkkk callbacks with reason
  604.                     XXXXmmmmCCCCRRRR____NNNNOOOO____MMMMAAAATTTTCCCCHHHH.  Otherwise, calls the XXXXmmmmNNNNooookkkkCCCCaaaallllllllbbbbaaaacccckkkk
  605.                     callbacks with reason XXXXmmmmCCCCRRRR____OOOOKKKK.
  606.  
  607.           <<<<AAAAppppppppllllyyyy BBBBuuuuttttttttoooonnnn AAAAccccttttiiiivvvvaaaatttteeeedddd>>>>:
  608.                     Calls the XXXXmmmmNNNNaaaappppppppllllyyyyCCCCaaaallllllllbbbbaaaacccckkkk callbacks with reason
  609.                     XXXXmmmmCCCCRRRR____AAAAPPPPPPPPLLLLYYYY.
  610.  
  611.           <<<<CCCCaaaannnncccceeeellll BBBBuuuuttttttttoooonnnn AAAAccccttttiiiivvvvaaaatttteeeedddd>>>>:
  612.                     Calls the XXXXmmmmNNNNccccaaaannnncccceeeellllCCCCaaaallllllllbbbbaaaacccckkkk callbacks with reason
  613.                     XXXXmmmmCCCCRRRR____CCCCAAAANNNNCCCCEEEELLLL.
  614.  
  615.           <<<<HHHHeeeellllpppp BBBBuuuuttttttttoooonnnn AAAAccccttttiiiivvvvaaaatttteeeedddd>>>>:
  616.                     Calls the XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk callbacks with reason
  617.                     XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
  618.  
  619.           <<<<MMMMaaaappppWWWWiiiinnnnddddoooowwww>>>>:
  620.                     Calls the callbacks for XXXXmmmmNNNNmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk if the
  621.                     SelectionBox is a child of a Dialog shell.
  622.  
  623.           <<<<UUUUnnnnmmmmaaaappppWWWWiiiinnnnddddoooowwww>>>>:
  624.                     Calls the callbacks for XXXXmmmmNNNNuuuunnnnmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk if the
  625.                     SelectionBox is the child of a DialogShell.
  626.  
  627.  
  628.         VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss
  629.           The bindings for virtual keys are vendor specific.  For
  630.           information about bindings for virtual buttons and keys, see
  631.           VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss((((3333XXXX)))).
  632.  
  633.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  634.           CCCCoooommmmppppoooossssiiiitttteeee((((3333XXXX)))), CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX)))), CCCCoooorrrreeee((((3333XXXX)))),
  635.           XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))), XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX)))),
  636.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX)))), XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX)))),
  637.           XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))), and XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxxGGGGeeeettttCCCChhhhiiiilllldddd((((3333XXXX)))).
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.      Page 10                                         (printed 4/30/98)
  658.  
  659.  
  660.  
  661.